package com.jiuli.liping.service;

import com.jiuli.liping.vo.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface OnDutyHisService {
    int updateOnDutyHis(OnDutyHis onDutyHis);

    OnDutyHis getOnDutyHis(String code);

    String upload(MultipartFile file);
    int zbMessage();
    int zbMessageStart();
    int dsMessage();

    int updateTrue(OnDutyHis onDutyHis);

    Message deleteImg(String imgName);

    Location getLocation(Location location);

    OnDutyHis selectOdh(OnDutyHis onDutyHis);

    Address getAddress(String location);

    List<OnDutyHis> getAllUserMonth(String code);

    String requestTb(String id1, String id2);

    String arganRequestTb(String id1, String id2,String id3);

    OnDutyHis getUserMonth(String code);

    OnDutyHistory getZbById(String id);

    String refuseRequestTb(String id1, String id2,String id3);

    List<OnDutyHis> getUserMonthBy30();

    List<OnDutyHis> getUserMonthByGr(String code);
}
